package com.fowo.api.model.supplier.quoted.price;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import javax.validation.constraints.*;
import lombok.Data;

/** 供应商报价表 导入导出辅助模型 */
@Data
public class SupplierQuotedPriceExcelPo {

  @Size(max = 50, message = "名称长度不能超过20")
  @ExcelProperty(value = "名称")
  private String name;

  @Size(max = 50, message = "币种长度不能超过20")
  @ExcelProperty(value = "币种")
  private String currency;

  @Size(max = 50, message = "是否含税长度不能超过20")
  @ExcelProperty(value = "是否含税")
  private String isPlusDuty;

  @Size(max = 50, message = "税率长度不能超过20")
  @ExcelProperty(value = "税率")
  private java.math.BigDecimal taxRate;

  @Size(max = 50, message = "是否首选长度不能超过20")
  @ExcelProperty(value = "是否首选")
  private String isFirst;

  @Size(max = 50, message = "采购链接长度不能超过20")
  @ExcelProperty(value = "采购链接")
  private String purchaseUrl;

  @ExcelProperty(value = "产品id")
  private Long productId;
}
